package com.xmut.eduservice.mapper;

import com.xmut.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xmut.eduservice.entity.vo.CoursePublishVo;

import java.util.List;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author huangchaoqin
 * @since 2020-08-04
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    public CoursePublishVo getCoursePublishVoById(String id);

    List<EduCourse> getHotCourse();
}
